package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 入库/出库单 数据库实体
 *
 * @author default
 * @date 2022-12-15
 */
@Data
@TableName("t_mate_inventory_order")
public class MateInventoryOrder extends SuperEntity {

    public static final String ORDER_NO ="order_no";

    public static final String ORDER_TYPE ="order_type";

    public static final String BIZ_TYPE ="biz_type";

    public static final String BIZ_ORDER_NO ="biz_order_no";

    public static final String SOURCE_ORDER_TYPE ="source_order_type";

    public static final String SUBJECT ="subject";

    public static final String SUB_WAREHOUSE_CODE ="sub_warehouse_code";

    public static final String CREATE_USER_CODE ="create_user_code";

    public static final String CREATE_USER_NAME ="create_user_name";


    /** 单号 */
    private String orderNo;

    /** 枚举 订单类型:1-入库(t1)|2-出库(t2) */
    private Integer orderType;

    /** 枚举 业务类型:1-物流跟进(t1)|2-库存矫正(t2)|3-库存拆卸(t3) */
    private Integer bizType;

    /** 业务单号 */
    private String bizOrderNo;

    /** 原始订单类型 */
    private String sourceOrderType;

    /** 科目 */
    private String subject;

    /** 分仓编码 */
    private String subWarehouseCode;

    /** 申请人账号 */
    private String createUserCode;

    /** 申请人名称 */
    private String createUserName;

}
